package com.by.heartbeats;

import com.by.toolkitspring.customizeannotation.byScan;
import com.by.toolkitspring.handler.Handler;
import org.dromara.dynamictp.core.spring.EnableDynamicTp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.by"})
@byScan(basePackage = "com.by", annotationClass = {Handler.class})
@EnableDynamicTp
public class HeartbeatsWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(HeartbeatsWebApplication.class, args);
    }

}
